#!/usr/bin/env python
# -*— coding: utf-8 -*-

words = ['cat', 'window', 'defenestrate']

#print(words[1:2])
name = 'ZhangHanyi'

#print(name[2:-3:2])
print(name[-1::-1])
print(name[::-1])

print(' '.join(words))